<template>
	<view class="con">
		<view class="header_title">
			~请选择你发布商品的类型~
		</view>
		<view class="" style="color: #C1C1C1;font-size: 38rpx;text-align: center;margin-top: 20rpx;">
			你的选择是
		</view>
		<view class="tab_box">
			<view class="tab_item" @click="clickto(1)">
				<image class="tab_icon" src="/pages/business/static/tab1.png" mode=""></image>
				<view class="item_right">
					<view class="right_top">
						金钱购买
					</view>
					<view class="line">

					</view>
					<view class="right_bottom">
						用钱支付
					</view>
				</view>
			</view>
			<view class="tab_item" @click="clickto(2)">
				<view class="item_right">
					<view class="right_top">
						惠值积分兑换
					</view>
					<view class="line">
			
					</view>
					<view class="right_bottom">
						惠值积分支付
					</view>
				</view>
				<image class="tab_icon" src="/pages/business/static/tab2.png" mode=""></image>
			</view>
			<view class="tab_item" @click="clickto(3)">
				<image class="tab_icon" src="/pages/business/static/tab3.png" mode=""></image>
				<view class="item_right">
					<view class="right_top">
						贡献值兑换
					</view>
					<view class="line">
			
					</view>
					<view class="right_bottom">
						贡献值支付
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			clickto(type){
				uni.navigateTo({
					url:'/pages/product/release?type='+type
				})
			}
		}
	}
</script>

<style lang="less">
	.con {
		color: #333;
	}

	.header_title {
		text-align: center;
		font-size: 38rpx;
	}

	.tab_box {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 60rpx 45rpx 120rpx 51rpx;
	}

	.tab_item {
		// width: 654rpx;
		height: 291rpx;
		background: #FFFFFF;
		box-shadow: 0px 3rpx 25rpx 0px rgba(0, 0, 0, 0.1);
		border-radius: 30rpx;
		width: 100%;
		display: flex;
		margin-bottom: 54rpx;
		.tab_icon {
			width: 160rpx;
			height: 151rpx;
			margin-left: 100rpx;
			margin-top: 65rpx;
		}

		.item_right {
			display: flex;
			flex-direction: column;
			justify-content: center;
			margin-left: 85rpx;

			.right_top {
				font-size: 42rpx;
				color: #333333;

				font-weight: 500;
			}

			.line {
				width: 78rpx;
				height: 3rpx;
				background: #E6E6E6;
				margin: 16rpx 0;
			}

			.right_bottom {
				font-size: 28rpx;
				color: #919191;
			}
		}
	}
</style>
